/**
 * 编程式导航
 */

import React from "react";
import { BrowserRouter as Router, Route, Link } from "react-router-dom";

// 登录组件，path="/login"
class Login extends React.Component {
}
// 登录成功后显示组件，path="/home"
class Home extends React.Component {
}
// 默认路由组件，path="/"
class Welcome extends React.Component {
}

class App extends React.Component {
  render() {
    return (
      <div>
        {/* Route组件 */}
      </div>
    );
  }
}

export default App;
